export default ({app,redirect}) => {
  console.log("this plugins is start")
  // 前置守卫
  app.router.beforeEach((to,from,next)=>{
    console.log("this plugins is top start")
    // console.log("to = ",to)
    next()
  })

  // 后置守卫
  app.router.afterEach((to,from,next)=>{
    console.log("this plugins is end start")
    // console.log("go to = ",to)
  })
}
// 